package boke;

class Person{
    String name;
    int age;
    public void show(){
        System.out.println("引用了成员方法");
    }
    public void eat(){
        this.show();
        System.out.println("正在吃饭");
    }
    public Person(String name) {
        this("王五",10);
        System.out.println("第一个构造方法");
    }
    public Person(String name, int age) {
        System.out.println("访问到了第二个构造方法");
    }


}